package com.lusang.basic.query;

import lombok.Data;

@Data
public class BaseQuery {
    //分页条件
    private Integer currentPage = 1;
    private Integer pageSize = 10;
    //高级查询条件
    private String keyword;
    public Integer getStart(){
        return (currentPage-1)*pageSize;
    }
}
